package com.hps.demo.provider;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * @Author hps
 * @Description:
 * @Date Created in 19:30 2019/7/11
 */
@Configuration
@ComponentScan(basePackages = "com.hps.demo")
public class SpringConfig {

    @Bean
    public RpcProvider rpcProvider() {
        return new RpcProvider();
    }
}
